5️⃣ Searching

Introduction into searching with Manticore Search

Searching is a core feature of Manticore Search. You can:

General syntax

SQL:

SELECT
    select_expr [, select_expr] ...
    [FROM tbl_name [, tbl_name ...]
        [{INNER | LEFT} JOIN tbl2_name]
        [WHERE where_condition]
        [GROUP BY {col_name | expr}, ... ]
        [HAVING where_condition]
        [ORDER BY {col_name | expr}
            [ASC | DESC], ... ]
    ]
    [LIMIT {[offset,] row_count | row_count OFFSET offset}]
    [OPTION option1[, option2] ...]
    [FACET {expr_list} [BY {expr_list}] [DISTINCT {field_name}] [ORDER BY {expr | FACET()} {ASC | DESC}] [LIMIT [offset,] count]]

The clauses must appear in this order. For example, LIMIT placed after OPTION fails with P01: syntax error, unexpected LIMIT, expecting $end, and OPTION placed after FACET fails with P01: syntax error, unexpected OPTION, expecting $end.

JSON:

POST /search
{
    "table" : "table_name",
    "options":
    {
      ...
    }
}
Last modified: September 23, 2026